package com.pet.order.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "订单详情视图对象")
public class OrderDetailVO {
    @ApiModelProperty(value = "订单id，唯一标识")
    private Long id;

    @ApiModelProperty(value = "商品详情列表")
    private List<OrderItemDetailVO> items;

    @ApiModelProperty(value = "订单总金额(分)")
    private Integer totalFee;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;
}
